package com.ljl.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor //全参
@NoArgsConstructor  //无参
public class PageList<T> {
    // 总数量
    private Long totals = 0L;
    // 当前页查询的数据
    private List<T> data = new ArrayList<>();
}
